Upload a chunk of the document to the specified cache.
public static void UploadDocument(
ObjectCache cache,
System.Uri uri,
byte[] data,
int offset,
int length
)
Public Shared Sub UploadDocument(
ByVal cache As ObjectCache,
ByVal uri As System.Uri,
ByVal data() As Byte,
ByVal offset As Integer,
ByVal length As Integer
)
public:
static void UploadDocument(
ObjectCache^ cache,
System::Uri^ uri,
array<Byte>^ data,
int offset,
int length
)
cache
The cache used when uploading this document. This value cannot be null.
uri
The temporary document URL. This must be the same value returned from BeginUpload and cannot be
null.
data
Current chunk of data. The factory will length number of bytes from this chunk starting at offset.
offset
Offset into data where to data begins.
length
Number of bytes to upload.
BeginUpload, UploadDocument and AbortUploadDocument can be used to upload a document in chunks to the cache used by this DocumentFactory. After the document is uploaded, you can use LoadFromUri to create a Document object from the data.
Refer to Uploading Using the Documents Library for detailed information on how to use these methods and the various options used.
For an example, refer to BeginUpload
Products |
Support |
Feedback: UploadDocument(ObjectCache,Uri,byte[],int,int) Method (DocumentFactory) - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.